-- GENERATED SPELL FOR [Far Seer Regulkut] --


function spell0_16574(pUnit, Event) --@Lightning Bolt,n/a--
pUnit:FullCastSpellOnTarget(15234,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16574', 3000, 1)
end

function Sorts_16574(pUnit, Event)
local choix_sorts_16574 = math.random(0, 0)
if choix_sorts_16574 == 0 then
pUnit:RegisterEvent('spell0_16574', 1, 1)
end
end

function mob16574_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16574', math.random(1500, 3000), 1)
end

function mob16574_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16574_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16574_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16574, 1, 'mob16574_Action')
RegisterUnitEvent(16574, 2, 'mob16574_Leave')
RegisterUnitEvent(16574, 3, 'mob16574_Kill')
RegisterUnitEvent(16574, 4, 'mob16574_Die')
